<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout 后台大布局 - Layui</title>
    <link rel="stylesheet" href="../layui-v2.5.6/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">layui 后台布局</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="../user/list" target="content" >用户列表</a></li>
            <li class="layui-nav-item"><a href="../role/list" target="content" >角色列表</a></li>
            <li class="layui-nav-item"><a href="../permission/list" target="content" >权限列表</a></li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a href="../logout">退出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item"><a href="../user/list"  target="content">用户列表界面</a></li>
                <li class="layui-nav-item"><a href="../user/edit" target="content">新增用户界面</a></li>
                <li class="layui-nav-item"><a href="../role/list"  target="content">角色列表界面</a></li>
                <li class="layui-nav-item"><a href="../role/edit"  target="content">新增角色界面</a></li>
                <li class="layui-nav-item"><a href="../permission/list" target="content">权限列表界面</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body" style="margin-top: 20px;margin-left: 20px;margin-right: 20px;">
       <!-- 内容主体区域 -->
      <iframe frameborder="0" scrolling="auto" marginheight="0" marginwidth="0" width="100%" height="800" name="content" style="border:1px solid #f0f0f0;" src="/demo2/user/list"></iframe>
    </div>
    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
    </div>
</div>
<script src="../layui-v2.5.6/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
</body>
</html>